package com.ruoyi.quartz.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 日交易对象 stock_daily_sina
 * 
 * @author czz
 * @date 2024-04-23
 */
public class StockDailySina extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 股票代码 */
    @Excel(name = "股票代码")
    private String symbol;

    /** 股票编码 */
    @Excel(name = "股票编码")
    private String code;

    /** 股票名称 */
    @Excel(name = "股票名称")
    private String name;

    /** 收盘价 */
    @Excel(name = "收盘价")
    private BigDecimal trade;

    /** 涨跌额 */
    @Excel(name = "涨跌额")
    private BigDecimal priceChange;

    /** 涨跌幅 */
    @Excel(name = "涨跌幅")
    private BigDecimal changePercent;

    /** 昨收 */
    @Excel(name = "昨收")
    private BigDecimal settlement;

    /** 开盘价 */
    @Excel(name = "开盘价")
    private BigDecimal openPrice;

    /** 最高价 */
    @Excel(name = "最高价")
    private BigDecimal high;

    /** 最低价 */
    @Excel(name = "最低价")
    private BigDecimal low;

    /** 成交量(股) */
    @Excel(name = "成交量(股)")
    private Long volume;

    /** 成交额(元) */
    @Excel(name = "成交额(元)")
    private Long amount;

    /** 市盈率TIM */
    @Excel(name = "市盈率TIM")
    private BigDecimal per;

    /** 市净率 */
    @Excel(name = "市净率")
    private BigDecimal pb;

    /** 总市值(万元) */
    @Excel(name = "总市值(万元)")
    private BigDecimal mktcap;

    /** 流通值(万元) */
    @Excel(name = "流通值(万元)")
    private BigDecimal nmc;

    /** 换手率(%) */
    @Excel(name = "换手率(%)")
    private BigDecimal turnoverRatio;

    /** 交易日期 */
    @Excel(name = "交易日期")
    private String tradeDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSymbol(String symbol) 
    {
        this.symbol = symbol;
    }

    public String getSymbol() 
    {
        return symbol;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTrade(BigDecimal trade) 
    {
        this.trade = trade;
    }

    public BigDecimal getTrade() 
    {
        return trade;
    }
    public void setPriceChange(BigDecimal priceChange) 
    {
        this.priceChange = priceChange;
    }

    public BigDecimal getPriceChange() 
    {
        return priceChange;
    }
    public void setChangePercent(BigDecimal changePercent) 
    {
        this.changePercent = changePercent;
    }

    public BigDecimal getChangePercent() 
    {
        return changePercent;
    }
    public void setSettlement(BigDecimal settlement) 
    {
        this.settlement = settlement;
    }

    public BigDecimal getSettlement() 
    {
        return settlement;
    }
    public void setOpenPrice(BigDecimal openPrice) 
    {
        this.openPrice = openPrice;
    }

    public BigDecimal getOpenPrice() 
    {
        return openPrice;
    }
    public void setHigh(BigDecimal high) 
    {
        this.high = high;
    }

    public BigDecimal getHigh() 
    {
        return high;
    }
    public void setLow(BigDecimal low) 
    {
        this.low = low;
    }

    public BigDecimal getLow() 
    {
        return low;
    }
    public void setVolume(Long volume) 
    {
        this.volume = volume;
    }

    public Long getVolume() 
    {
        return volume;
    }
    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }
    public void setPer(BigDecimal per) 
    {
        this.per = per;
    }

    public BigDecimal getPer() 
    {
        return per;
    }
    public void setPb(BigDecimal pb) 
    {
        this.pb = pb;
    }

    public BigDecimal getPb() 
    {
        return pb;
    }
    public void setMktcap(BigDecimal mktcap) 
    {
        this.mktcap = mktcap;
    }

    public BigDecimal getMktcap() 
    {
        return mktcap;
    }
    public void setNmc(BigDecimal nmc) 
    {
        this.nmc = nmc;
    }

    public BigDecimal getNmc() 
    {
        return nmc;
    }
    public void setTurnoverRatio(BigDecimal turnoverRatio) 
    {
        this.turnoverRatio = turnoverRatio;
    }

    public BigDecimal getTurnoverRatio() 
    {
        return turnoverRatio;
    }
    public void setTradeDate(String tradeDate) 
    {
        this.tradeDate = tradeDate;
    }

    public String getTradeDate() 
    {
        return tradeDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("symbol", getSymbol())
            .append("code", getCode())
            .append("name", getName())
            .append("trade", getTrade())
            .append("priceChange", getPriceChange())
            .append("changePercent", getChangePercent())
            .append("settlement", getSettlement())
            .append("openPrice", getOpenPrice())
            .append("high", getHigh())
            .append("low", getLow())
            .append("volume", getVolume())
            .append("amount", getAmount())
            .append("per", getPer())
            .append("pb", getPb())
            .append("mktcap", getMktcap())
            .append("nmc", getNmc())
            .append("turnoverRatio", getTurnoverRatio())
            .append("tradeDate", getTradeDate())
            .toString();
    }
}
